hip.util.path

Undocumented in source.

Members

Aliases

baseName
alias baseName = filename
Undocumented in source.

Classes

Node (from hip.util.data_structures)
class Node(T) via public import hip.util.data_structures : Node;
Undocumented in source.

Functions

buildFolderTree
Node!string buildFolderTree(string[] filesList)
Undocumented in source. Be warned that the author may not have intended to support it.
buildPath
string buildPath(Node!string node)
Undocumented in source. Be warned that the author may not have intended to support it.
determineSeparator
char determineSeparator(string filePath)
Undocumented in source. Be warned that the author may not have intended to support it.
dirName
string dirName(string filePath)

Will get the directory name until a trailing separator or return

extension
string extension(string pathOrFilename)

Extension getter

extension
string extension(string pathOrFilename, string newExt)

Extension setter. Usage:

extension
string extension(string pathOrFilename, string newExt)
Undocumented in source. Be warned that the author may not have intended to support it.
filename
string filename(string filePath)
Undocumented in source. Be warned that the author may not have intended to support it.
filename
string filename(string filePath, string newFileName)
Undocumented in source. Be warned that the author may not have intended to support it.
filenameNoExt
string filenameNoExt(string filePath)
Undocumented in source. Be warned that the author may not have intended to support it.
isAbsolutePath
bool isAbsolutePath(string fPath)
Undocumented in source. Be warned that the author may not have intended to support it.
isRootOf
bool isRootOf(string theRoot, string ofWhat)
Undocumented in source. Be warned that the author may not have intended to support it.
joinPath
string joinPath(char separator, string[] paths)
Undocumented in source. Be warned that the author may not have intended to support it.
joinPath
string joinPath(string[] paths)
Undocumented in source. Be warned that the author may not have intended to support it.
normalizePath
string normalizePath(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
pathSplitter
string[] pathSplitter(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
pathSplitterRange
auto pathSplitterRange(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
relativePath
string relativePath(string filePath, string base)
Undocumented in source. Be warned that the author may not have intended to support it.
replaceFileName
string replaceFileName(string filePath, string newFileName)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

defaultCaseSensitivity
enum defaultCaseSensitivity;
Undocumented in source.
defaultCaseSensitivity
enum defaultCaseSensitivity;
Undocumented in source.
defaultCaseSensitivity
enum defaultCaseSensitivity;
Undocumented in source.
otherSeparator
enum otherSeparator;
Undocumented in source.
otherSeparator
enum otherSeparator;
Undocumented in source.
pathSeparator
enum pathSeparator;
Undocumented in source.
pathSeparator
enum pathSeparator;
Undocumented in source.

Meta